home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
DEV
/
A-B
/
003. SillyBalls.cpt
/
About SillyBalls
next >
Wrap
Text File
|
1988-08-02
|
1KB
|
31 lines
_______________________________________________________________________________________________
Macintosh Sample Code
#3: SillyBalls
Versions: 1.0 8/88
Components: SillyBalls.p August 1, 1988
SillyBalls.c August 1, 1988
SillyBalls.make August 1, 1988
_______________________________________________________________________________________________
This is a very simple sample program that demonstrates how to use Color
QuickDraw. It is about two pages of code, and does nothing more than open
a color window and draw randomly colored ovals in the window.
The purpose is to show how to get some initial results with Color QuickDraw.
It is a complete program and is very short to be as clear as possible.
It does not have an Event Loop. It is not fully functional in the sense that
it does not do all the things you would expect a well behaved Macintosh
program to do, like size the window naturally, have an event loop, use menus, etc.
See Sample and TESample for the general structure and MultiFinder techniques that
we recommend that you use when building a new application.